package com.lingxu.module.zx.mapper;


import com.lingxu.module.zx.vo.YcsjForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@Mapper
public interface StatisticsMapper {

    public List<String> getSjly(@Param("modelId") String modelId);

    String getLinkModelId(@Param("modelId") String modelId);

    List<Map<String, Object>> getYdwtlxfb(@Param("modelIds") List<String> arrayList);

    List<Map<String, Object>> getWtdqfb(@Param("modelIds") List<String> modelIds, @Param("areas") List<Integer> areas);

    String getArea(@Param("region") String region);

    List<Map<String, Object>> getChildrenAreaById(@Param("region") String region);

    List<Map<String, Object>> getChildrenAreaByPId(@Param("region") String region);

    Integer getSjzl(@Param("modelIds") List<String> arrayList);

    Integer getMxgz(@Param("modelId") String modelId);

    Integer getYcsj(@Param("modelIds") List<String> arrayList);

    Integer getHcsj(@Param("modelIds") List<String> arrayList);

    Integer getCzry(@Param("modelId") String modelId);

    List<Map<String, Object>> getCcajfb(@Param("modelId") String modelId);

    List<Map<String, Object>> getYcsjList(YcsjForm ycsjForm);

    Integer getYcsjListCount(YcsjForm ycsjForm);

    List<Map<String, Object>> getChildrenModel(String modelId);

    Map<String, Object> getS(String region);

    List<Map<String, Object>> getKydx(@Param("modelIds")List<String> modelId);
}
